import { PartialType } from '@nestjs/swagger'
import { IsNotEmpty } from 'class-validator'
import { CreateMenuDto } from './create-menu.dto'

export class UpdateMenuDto extends PartialType(CreateMenuDto) {
  @IsNotEmpty({
    message: 'id 不能为空',
  })
  id: number
}
